﻿using BackData;
using Domain.DTOs.Quality;
using MediatR;

namespace Team.API.Applocation.Command.Quality
{
    public class GetQualityListCommand:IRequest<APIPaging<QualityListDto>>
    {
        /// <summary>
        /// 质检工单主题
        /// </summary>
        public string? Quaworksubject { get; set; }
        /// <summary>
        /// 质检工单编号
        /// </summary>
        public string? Quaworkcode { get; set; }
        /// <summary>
        /// 来源工单
        /// </summary>
        public string? WorkCode { get; set; }

        /// <summary>
        /// 生产物品
        /// </summary>
        public string? Goodsname { get; set; }
        /// <summary>
        /// 质检负责人
        /// </summary>
        public string? QualityUsername { get; set; }
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; } = 1;
        /// <summary>
        /// 每页数量
        /// </summary>
        public int PageSize { get; set; } = 10;
    }
}
